package com.central.scheduler.api.service;

import com.central.common.model.PageResult;
import com.central.common.model.Result;
import com.central.common.model.SysUser;
import com.central.common.service.ISuperService;
import com.central.scheduler.dao.model.ProcessInstance;

import java.util.Map;

/**
 * @author Tindy
 * @date 2021/7/3
 * @describe
 */
public interface IProcessInstanceService extends ISuperService<ProcessInstance> {

    PageResult<ProcessInstance> queryProcessInstances(Map<String, Object> params);

    Result delProcessInstance(SysUser user, Long processInstanceId);
}